package cn.itcast.order.mapper;

import cn.itcast.order.pojo.Item;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderMapper extends BaseMapper<Item> {

//    Item findById(Long id);

    @Select("select * from Student")
    IPage<Item> selectXinxPage(Page<Item> page, @Param("it") Item item);
}
